import request from '@/utils/request'
export const getPromissionList = () => request('/sys/permission')
export const addPromission = data => request.post('/sys/permission', data)
export const editPromission = data => request.put(`/sys/permission/${data.id}`, data)
export const delPromission = id => request.delete(`/sys/permission/${id}`)
export const getPromissionDetail = id => request(`/sys/permission/${id}`)
